﻿@model FreightSoft.Models.ORDER_LINE

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Order Line</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.ORDER_ID, "Order No")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.ORDER_ID, new { @readonly="readonly" })
            @Html.ValidationMessageFor(model => model.ORDER_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LINE_ID)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.LINE_ID, new { @readonly="readonly" })
            @Html.ValidationMessageFor(model => model.LINE_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PART_ID, "Part No")
        </div>
        <div class="editor-field">
           @Html.TextBoxFor(model => model.PART_ID, new { @readonly="readonly" })
           @Html.ValidationMessageFor(model => model.PART_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.QUANTITY)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.QUANTITY)
            @Html.ValidationMessageFor(model => model.QUANTITY)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}